package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.item.entity.Category;
import com.leyou.pojo.dto.CategoryDTO;

import java.util.List;

public interface CategoryService extends IService<Category> {
    CategoryDTO findCategoryById(Long id);

    List<CategoryDTO> findCategoryByIds(List<Long> ids);

    List<CategoryDTO> findCategoryByParentId(Long pid);

    List<CategoryDTO> findCategoryByBrandId(Long id);
}
